package com.xianyu.us.pojo.entity;

import java.io.Serializable;
import java.util.Date;

public class UsMsgs implements Serializable {

	/**
	 * 留言表变量
	 */
	private static final long serialVersionUID = 1867203505751691669L;

	private Integer id;
	private Integer goodsId;
	private String sender;
	private String receiver;
	private String note;
	private Date sendTime;
	private String parentSender;
	
	public UsMsgs() {}
	public UsMsgs(Integer id, Integer goodsId, String sender, String receiver, String note, Date sendTime,
			String parentSender) {
		super();
		this.id = id;
		this.goodsId = goodsId;
		this.sender = sender;
		this.receiver = receiver;
		this.note = note;
		this.sendTime = sendTime;
		this.parentSender = parentSender;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getGoodsId() {
		return goodsId;
	}
	public void setGoodsId(Integer goodsId) {
		this.goodsId = goodsId;
	}
	public String getSender() {
		return sender;
	}
	public void setSender(String sender) {
		this.sender = sender;
	}
	public String getReceiver() {
		return receiver;
	}
	public void setReceiver(String receiver) {
		this.receiver = receiver;
	}
	public String getNote() {
		return note;
	}
	public void setNote(String note) {
		this.note = note;
	}
	public Date getSendTime() {
		return sendTime;
	}
	public void setSendTime(Date sendTime) {
		this.sendTime = sendTime;
	}
	public String getParentSender() {
		return parentSender;
	}
	public void setParentSenfer(String parentSender) {
		this.parentSender = parentSender;
	}
	@Override
	public String toString() {
		return "UsMsgs [id=" + id + ", goodsId=" + goodsId + ", sender=" + sender + ", receiver=" + receiver + ", note="
				+ note + ", sendTime=" + sendTime + ", parentSender=" + parentSender + "]";
	}
}
